﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class news_show : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        int id = int.Parse(Request.QueryString["id"].ToString());

        NEWS.Model.News news = NEWS.BLL.News.GetNews(id);

        this.title.Text = news.Title;
        this.menu.Text = NEWS.BLL.Menu.GetMenu(news.Menu).Title;
        this.date.Text = news.Adddate.ToString();
        this.more.Text = news.More;
    }
}